#include <iostream>
using namespace std;
int main() {
    string name;
    cin >> name; 
    cout << "Hello, C++!" << endl;
    cout << "My name is " << name << "." << endl;

}
